<section *ngIf="showForm">
    <div class="clearfix" style="text-align: center;">
      <nz-upload
        style="width: 100px;"
        nzListType="picture-card"
        [nzAction]="uploadUrl"
        [(nzFileList)]="fileList"
        [nzShowButton]="fileList.length < 1"
        nzAccept=".txt"
        [nzData]="{'type':7}"
        (nzChange)="handle($event)"
      >
      <div>
        <i nz-icon nzType="plus"></i>
        <div style="margin-top: 8px">选择txt文件</div>
      </div>
      </nz-upload>
    </div>
    <nz-form-item style="margin-top: 40px;">
        <nz-form-control [nzSpan]="24" style="text-align: center;">
          <button nz-button nzType="primary" (click)="submit()">提交</button>
          <button nz-button (click)="resetForm()">取消</button>
        </nz-form-control>
      </nz-form-item>
  </section>